package com.hopu.wuliu_demo.service.impl;

import com.hopu.wuliu_demo.dao.LogisticsDAO;
import com.hopu.wuliu_demo.entity.Logistics;
import com.hopu.wuliu_demo.service.LogisticsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LogisticsServiceImpl implements LogisticsService {

    @Autowired
    private LogisticsDAO logisticsDAO;

    @Override
    public List<Logistics> findAllLogistics() {
        return logisticsDAO.selectAllLogistics();
    }
}
